/*
* Copyright © 2018 Union Mobile Financial Technology Co.Ltd
* All Rights Reserved
* @Description: crm公用参数
* @author lile 
* @date 2018年1月29日 下午1:56:21
*
*/ 
package com.umpay.dto.memberMgr;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.verify.Verifiable;

/**
***********************************************************
* @ClassName: CommonParameters
* @Description: crm公用参数
* @author lile
* @date 2018年1月29日 下午1:56:21
* @version 1.0 
*
* Modification History:
* Date         Author          Version            Description
*---------------------------------------------------------*
* 2018年1月29日     lile           v1.0.0               修改原因
************************************************************
*/
public class CommonParameters implements Verifiable {
	
	@NotEmpty
	@Pattern
	private String merId;
	/**存管行侧商户号*/
	private String depBankMerId;
	
	@NotEmpty
	@Pattern
	private String rpid;
	
	/**接入通道名称*/
	private String accessName;
	
//	@NotEmpty
	@Pattern
	/**接入类型 1-联动托管 2-银行存管*/
	private String accessType;
	
	public String getMerId() {
		return merId;
	}
	public void setMerId(String merId) {
		this.merId = merId;
	}
	
	public String getDepBankMerId() {
		return depBankMerId;
	}
	public void setDepBankMerId(String depBankMerId) {
		this.depBankMerId = depBankMerId;
	}
	public String getRpid() {
		return rpid;
	}
	public void setRpid(String rpid) {
		this.rpid = rpid;
	}

	public String getAccessName() {
		return accessName;
	}
	public void setAccessName(String accessName) {
		this.accessName = accessName;
	}
	public String getAccessType() {
		return accessType;
	}
	public void setAccessType(String accessType) {
		this.accessType = accessType;
	}
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("[merId=");
		builder.append(merId);
		builder.append(", depBankMerId=");
		builder.append(depBankMerId);
		builder.append(", rpid=");
		builder.append(rpid);
		builder.append(", accessName=");
		builder.append(accessName);
		builder.append(", accessType=");
		builder.append(accessType);
		builder.append("]");
		return builder.toString();
	}

}
